package com.example.happiness.service.employee.Impl;

import com.example.happiness.mapper.EmployeeMapper;
import com.example.happiness.pojo.Employee;
import com.example.happiness.service.employee.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    EmployeeMapper employeeMapper;

    @Override
    public Employee emplayeeLogin(Employee employee) {
        return employeeMapper.selectByPrimaryKey(employee.getEmployeeid());
    }
}
